package com.lanou3g.ptp.organize.mapper;

import com.lanou3g.ptp.entity.School;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SchoolMapper {
    void addSchool(School school);

    School findById(Long id);

    List<School> findByIds(Long[] ids);

    List<School> findAll();

    void updateById(School school);

    void deleteById(Long id);

    void deleteByIds(Long[] ids);

    School findByName(String name);

}
